package service;

import user.entity.User;

import java.util.List;

public interface UserService {
    boolean addUser(User user);
    boolean deleteUser(String num);
    boolean updateUser(String num,User user);
    List<User> queryAll();
    User queryByNum(String num);
    List<User> queryByName(String name);
    List<User> queryByGrade(String grade);
}
